<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="com.lp.util.CommonUtil"%>
<%@ page import="com.lp.authority.WechatAuthorityIntercept"%>
<!DOCTYPE HTML>
<html> 
	<head>
		<title>测试</title> 
		<%@ include  file="/WEB-INF/oss/base/common/variable.jsp"%>
    	<%@ include  file="/WEB-INF/oss/base/common/resource_lib.jsp"%>
    	<%@ include  file="/WEB-INF/oss/base/common/variable_js.jsp"%>
	</head>
	<body>

		<% if( !CommonUtil.checkReqUtil.checkAgentIsMobile(request) ){ %>
			<jsp:forward page="/WEB-INF/oss/iot/login.jsp"></jsp:forward>
		<% }else{ %>
			<%if( WechatAuthorityIntercept.isWeixin(request)  ) { %>
				<%response.sendRedirect("/service/wiot/login"); %> 
			<% }else { %>
				<jsp:forward page="/WEB-INF/wechat/iot/login.jsp"></jsp:forward>
			<% } %>
		<% } %>
	</body>
</html>
